<template>
	<view class="aboutUs">
		<view class="icon-box">
			<image src="../../../../static/logo.png" mode=""></image>
			<text>源聚变</text>
		</view>
		<view class="top">
			<view class="top-box" v-for="(item,index) in toplist" :key='index' @click="jump(item.url)">
				<text>{{item.text}}</text>
				<image class="img" src="../../../../static/mine/rightjiantou.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				toplist: [{
					text: '用户服务协议',
					url: '/myPackageA/mine/system/aboutUs/userAgreement'
				}, {
					text: '隐私政策',
					url: '/myPackageA/mine/system/aboutUs/privacyAgreement'
				}, {
					text: '关于我们',
					url: '/myPackageA/mine/system/aboutUs/aboutUsText'
				}]
			}
		},
		methods: {
			jump(url) {
				uni.navigateTo({
					url: url
				})
			}
		}
	}
</script>

<style scoped lang="less">
	.top {
		width: 100%;
		height: 316rpx;
		opacity: 1;
		border-radius: 0px;

		.top-box {
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-bottom: 1px solid #D1D1D1;
			padding: 25rpx 0;

			text {
				font-size: 32rpx;
				font-family: PingFang SC;
				font-weight: 400;
				color: #3D444D;
			}

			.img {
				width: 16rpx;
				height: 30rpx;
			}
		}

	}

	.aboutUs {
		padding: 40rpx;

		.icon-box {
			margin-top: 100rpx;
			margin-bottom: 96rpx;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;

			image {
				width: 169rpx;
				height: 169rpx;
				margin-bottom: 30rpx;
			}

			text {
				font-size: 36rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #333333;
			}
		}
	}
</style>
